home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / utility / horst_2.zip / ANSTRIP.DOC < prev    next >
Text File  |  1995-12-18  |  1KB  |  30 lines

  1. ------------------------------------------------------------------------
  2. ANSTRIP   strip ANSI sequences          Ver 1.6 (c) 1994 Horst Schaeffer
  3. ------------------------------------------------------------------------
  4.  
  5. Syntax:  ANSTRIP < in.txt > out.txt [/p]
  6.  
  7. ANSTRIP reads from STDIN and writes to STDOUT. File size not limited.
  8.  
  9. ANSI sequences are removed if they meet the following specifications:
  10.  
  11.    + starting with ESC, "["
  12.  
  13.    + followed by numbers, semicolons, strings in quotes or "?", "="
  14.      or variables (like %1, %%a, %VAR%)
  15.  
  16.    + terminated by any character from "A" to "Z" (upper or lower case)
  17.      or "@"
  18.  
  19. With Option /p only keyboard-redefinition sequences are removed
  20. (sequences terminated by "p"). Please note that this is NOT a 100% safe
  21. protection against ANSI bombs in BAT files (especially when variables
  22. are used).
  23.  
  24. ANSTRIP displays a message (to STDERR) and returns errorlevel 1
  25. if any "p"-sequences were removed.
  26.  
  27. Help message on command errors (errorlevel 255).
  28.  
  29. = 09 FEB 1995
  30.